package com.bawei.mmvvpp.pp;

import com.bawei.mmvvpp.mm.KotlinModel;
import com.bawei.mmvvpp.vv.KotlinView;

/**
 * create by ertu
 * create on 2021/7/31
 * description
 */
public class KotlinPretenterActivity <M extends KotlinModel,V extends KotlinView> implements KotlinPretenter {

    protected  M mmcs;
    protected V vxze;

    public KotlinPretenterActivity(M mmcs, V vxze) {
        this.mmcs = mmcs;
        this.vxze = vxze;
    }

    @Override
    public void kotlinpretenterds() {
        if (mmcs!=null)
        {
            mmcs=null;
            mmcs.kaotlinmodeldes();
        }
        if (vxze!=null)
        {
            vxze=null;
        }
    }
}
